package com.dkm.dkmproject.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.dkm.dkmproject.domain.ServicetypeTb;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
  * 服务类型表 Mapper 接口
 * </p>
 *
 * @author 周佳佳
 * @since 2020-04-26
 */
@Mapper
@Repository
public interface ServicetypeTbMapper extends BaseMapper<ServicetypeTb> {


    int deleteByPrimaryKey(@Param("syId") Integer syId);

    int insertSelective(ServicetypeTb record);

    ServicetypeTb selectByPrimaryKey(Integer syId);

    List<ServicetypeTb> selectAll();

    List<ServicetypeTb> selectAllTwo(@Param("syName") String syName);

    int updateByPrimaryKeySelective(ServicetypeTb record);

    int updateByPrimaryKey(ServicetypeTb record);

    int selectCountOne(@Param("syName") String syName);
}